<div class="detaiTab detaiTab1 m10">
	<form class="action-ajax-form"
		action="<@url value='/workflowsubmit/payment'/>" method="post">
    	 <p class="p10 ">填写放款数据</p>		
			<div class="detaiTab  b_t">
				<table align="center" width="100%" cellspacing="0" cellpadding="0"
					border="0">
					<tbody>
						<input type="hidden" name="loanapplyNo"
							value="${o2oloanapply.loanapplyNo}" />
						<tr>
							<td width="15%" align="right" class="bg"><span><font
									color="red">*</font></span> 放款金额:</td>
							<td>
							 <#if o2oloanapply.bankLoanName=="BC"> 
								<input class="bn inputNum" type="text" value="${o2oloanapply.eaMount}" readonly="readonly"/>
								<input class="inputNum" type="hidden" name="eaMount" value="${o2oloanapply.eaMount}"/>
							<#else>
								<input class="inputNum" type="text" name="eaMount" value="${o2oloanapply.eaMount}" />
							</#if> 
							<!-- ${bankData.loanAmount} -->
							</td>
							<td width="15%" align="right" class="bg"><span><font
									color="red">*</font></span> 还款期限:</td>
							<td><!--
							<@select dataSouceType="OTOLOANTERM" value="${o2oloanapply.loanTerm}" id="loanTerm" renderonly="true"/>
							 -->
							<#if o2oloanapply.bankLoanName=="BC">
							<@select dataSouceType="OTOLOANTERM" value="${o2oloanapply.loanTerm}" id="loanTerm" renderonly="true"/>
							<input name="loanTerm" value="${o2oloanapply.loanTerm}" type="hidden"/>
							<#else>
								<@select dataSouceType="OTOLOANTERM" value="${o2oloanapply.loanTerm}" id="loanTerm" name="loanTerm"/>
							</#if>
							</td>
						</tr>
						<tr>
							<td width="15%" align="right" class="bg"><span><font
									color="red">*</font></span> 实际放款日：</td>
							<td>
							<#if o2oloanapply.bankLoanName=="BC">
								<@date value="${o2oForm.loanDate}" renderonly="true"/>
								<input name="paymentTime" value="${o2oForm.loanDate}" type="hidden"/>
								<#else>
								<@date value="${o2oForm.loanDate}" id="loanDate" name="paymentTime" />
							</#if> 
							<!-- ${o2oForm.loanDate}-->
							</td>
							<td width="15%" align="right" class="bg"><span><font
									color="red">*</font></span>放款银行：</td>
									 <td>
									 		<!--  <#if bankData.loanBank!="">
											 <@select dataSouceType="BANKTYPEO2O" value="${bankData.loanBank}" renderonly="true" />
											 <#else>
											 <@select dataSouceType="BANKTYPEO2O" value="${o2oloanapply.bankLoanName}" renderonly="true" />
											 </#if>   --> 
										 <#if bankData.loanBank!="">
											 <#if o2oloanapply.bankLoanName=="BC">
											
											 <input name="bankLoanName" type="hidden" value="${bankData.loanBank}"/>
											 <@select dataSouceType="BANKTYPEO2O" value="${bankData.loanBank}" renderonly="true" />
											 <#else>
											  <@select dataSouceType="BANKTYPEO2O" value="${bankData.loanBank}" name="bankLoanName"/>
											 </#if>
										 <#else>
										     <#if o2oloanapply.bankLoanName=="BC">
											
											 <input name="bankLoanName" type="hidden" value="${o2oloanapply.bankLoanName}"/>
											 <@select dataSouceType="BANKTYPEO2O" value="${o2oloanapply.bankLoanName}" renderonly="true" />
											 <#else>
											  <@select dataSouceType="BANKTYPEO2O" value="${o2oloanapply.bankLoanName}" name="bankLoanName"/>
											 </#if>  
									     </#if> 	 	 
									 </td>
						</tr>
					</tbody>
				</table>
			</div>
			 <div class="clearfix tac mtb20">
				 <#if o2oloanapply.bankLoanName !="BC">
				<input type="submit"
				class="btn_auto_30 btn_blue" value="保存银行放款数据"> 
				<span class="red fs14 ml10">(提示：请先点击【保存】按钮，再审核该单据！)</span>
				</#if>
		</div><!-- --> 
<div class="openBox action-ajax-load" data-url="<@url value='/workflowcheck/payment?referId=${o2oloanapply.loanapplyNo}'/>" id="file_uploader"></div>
	</form>
</div>
<!-- 上传中行申报文件 -->
 <#if o2oloanapply.bankLoanName=='BC'>
 <div class="detaiTab detaiTab1 m10">
 	<p class="p10">
 		上传中行申报文件
 	</p>
    <div class="detaiTab">
        <table id="myTable" width="100%" cellspacing="0" cellpadding="0" border="0" class="b_t_e5 zjfile">
              <tbody>
                <tr>
                    <td width="200px" align="right" class="bg"> </td>
                    <td width="200px"><@fileUpload url="/loanrest/othfile/BANKAPPLYDATA/${o2oloanapply.loanapplyNo}" title="上传中行申报文件"/>
                    
                   </td>
                    <td>
                     	<div class="action-ajax-load" data-url="<@url value='/workflowcheck/bcfiletypeButton?loanapplyNo=${o2oloanapply.loanapplyNo}'/>" id="file_type_Button"></div>
                    </td>
                </tr>
              </tbody>
            </table> 
   </div> 
	</div>
	
	  <div class="detaiTab detaiTab1 m10">
        <p class="p10">附件信息</p>
       <div class="dataBable"><@pagination paginationInfo="pageResult"/></div>
  </div>
  </#if>
  
<#if o2oloanapply.bankLoanName=='JCB'>
<div class="detaiTab detaiTab1 m10">
	<p class="p10">江西银行资料下载</p>
	<div class="detaiTab">
		<table id="myTable" width="100%" cellspacing="0" cellpadding="0"
			border="0" class="b_t_e5 zjfile">
			<tbody>
				<tr>
					<td width="15%" align="right" class="bg"></td>
					<td><a class="btn_dx mr10"
						href="/wordDownload/downloadRecommendation?loanapplyNo=${o2oloanapply.loanapplyNo}">下载推荐函</a> 
						<a class="btn_dx"
						href="/wordDownload/downloadLoanAdvice?loanapplyNo=${o2oloanapply.loanapplyNo}">下载通知书</a>
						</td>
				</tr>
			</tbody>
		</table>
	</div>
</div>
</#if>